package design_pattern.proxy.proxy_pattern_static;

/**
 * 测试代码
 * @author 15594
 */
public class ProxyDemo {
    public static void main(String[] args) {
        NeedProxyMethod proxy = new ProxyPeople("小胖");

        proxy.buyTrainTickets("帮小明买票");

    }
}
